package com.demo.common.model;

import javax.sql.DataSource;

import com.jfinal.plugin.activerecord.generator.MetaBuilder;
/**
 * 可以定制一个MetaBuilder，覆盖isSkipTable方法
 * @author Administrator
 *
 */
public class _MetaBuilder extends MetaBuilder {
    public _MetaBuilder(DataSource dataSource) {
        super(dataSource);
    }
    
    @Override
    protected boolean isSkipTable(String tableName) {
        return !tableName.startsWith("T_CUSTOM_");
    }
}